$def with (privData)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
$:privData['render'].header(privData)
<body>
$:privData['render'].pageheader(privData)

<h2>新增会员</h2>
<form action="$makeUrl('/admin/user/save')" method="post">
    <table width="750" border="0" cellspacing="0" cellpadding="1" class="addtable">
        <tr>
            <td width="100" scope="col">头像:</td>
            <td width="608" scope="col">
                $:privData['render'].thumbnail_select_widget(privData)
            </td>
        </tr>  
        <tr>
            <td width="100" scope="col">邮箱地址:</td>
            <td width="608" scope="col"><input name="email" type="text" /></td>
        </tr>
        <tr>
            <td width="100" scope="col">密码:</td>
            <td width="608" scope="col"><input name="passwd" type="password" /></td>
        </tr>
        <tr>
            <td width="100" scope="col">级别:</td>
            <td width="608" scope="col"><input name="rank" type="text" /></td>
        </tr> 
        <tr>
            <td width="100" scope="col">昵称:</td>
            <td width="608" scope="col"><input name="nickname" type="text" /></td>
        </tr> 
        <tr>
            <td width="100" scope="col">姓名:</td>
            <td width="608" scope="col"><input name="name" type="text" /></td>
        </tr>

        <tr>
            <td scope="col">性别:</td>
            <td scope="col">
                $for k,v in privData['GENDER_LIST'].items():
                    <input type="radio" value="$:k" name="gender"
                    $if k == 1: 
                        checked="checked"
                    >
                    $:v
            </td>
        </tr> 

        <tr>
            <td width="100" scope="col">电话:</td>
            <td width="608" scope="col"><input name="phoneno" type="text"  value=""/></td>
        </tr>                         
        <tr>
            <td width="100" scope="col">地址:</td>
            <td width="608" scope="col"><input name="address" type="text" value=""/></td>
        </tr>                         


                                 
        <tr>
            <td colspan="2" scope="col"><input type="submit" name="submit" value="保存" id="submits"/></td>
        </tr>
</form>
</body></html>
